.class public Lcom/xingbook/xingbook/c/b;
.super Ljava/lang/Object;


# instance fields
.field public a:Landroid/content/Context;

.field public b:Lcom/xingbook/xingbook/b/a;

.field c:Lcom/xingbook/xingbook/c/d;

.field d:Landroid/os/Handler;

.field private e:Lcom/xingbook/service/download/f;

.field private f:Lcom/xingbook/park/d/e;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/xingbook/xingbook/b/a;Lcom/xingbook/service/download/f;Lcom/xingbook/xingbook/c/d;)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Lcom/xingbook/xingbook/c/e;

    invoke-direct {v0, p0}, Lcom/xingbook/xingbook/c/e;-><init>(Lcom/xingbook/xingbook/c/b;)V

    iput-object v0, p0, Lcom/xingbook/xingbook/c/b;->d:Landroid/os/Handler;

    iput-object p1, p0, Lcom/xingbook/xingbook/c/b;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/xingbook/xingbook/c/b;->b:Lcom/xingbook/xingbook/b/a;

    iput-object p3, p0, Lcom/xingbook/xingbook/c/b;->e:Lcom/xingbook/service/download/f;

    iput-object p4, p0, Lcom/xingbook/xingbook/c/b;->c:Lcom/xingbook/xingbook/c/d;

    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->g()Lcom/xingbook/park/d/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/xingbook/c/b;->f:Lcom/xingbook/park/d/e;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/xingbook/c/b;)Lcom/xingbook/park/d/e;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/c/b;->f:Lcom/xingbook/park/d/e;

    return-object v0
.end method

.method static synthetic b(Lcom/xingbook/xingbook/c/b;)Lcom/xingbook/service/download/f;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/xingbook/c/b;->e:Lcom/xingbook/service/download/f;

    return-object v0
.end method


# virtual methods
.method public a(I)V
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lcom/xingbook/xingbook/c/b;->a(II)V

    return-void
.end method

.method public a(II)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/xingbook/c/b;->c:Lcom/xingbook/xingbook/c/d;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/xingbook/c/b;->c:Lcom/xingbook/xingbook/c/d;

    iget-object v1, p0, Lcom/xingbook/xingbook/c/b;->a:Landroid/content/Context;

    const v2, 0x7f0800c3

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Lcom/xingbook/xingbook/c/d;->a(Ljava/lang/String;Z)V

    :cond_0
    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/xingbook/c/c;

    invoke-direct {v1, p0, p1, p2}, Lcom/xingbook/xingbook/c/c;-><init>(Lcom/xingbook/xingbook/c/b;II)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method
